from odoo import fields, models

class Custom(models.Model):

    _name = 'dragon.custom'
    _description = '三龙百货客户'
    # _rec_name = 'name'

    name = fields.Char(
        '客户名称',
        required=True
    )
    addr = fields.Char(
        '客户地址',
        required=True
    )
    phone = fields.Char(
        '联系电话',
        required=True
    )
    ali = fields.Char(
        '支付宝账号',
        default='暂无'
    )
    abc = fields.Char(
        '已转农行',
        default='暂无'
    )
    cash = fields.Char(
        '收现金',
        default='暂无'
    )
    remark = fields.Text(
        '备注'
    )
